/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package bd.ngc;

import bd.dao.GenericController;
import bd.mdl.Rating;
import java.util.List;

/**
 *
 * @author Johnny
 */
public class ratingManager {
    GenericController<Rating> controladorRating = new GenericController<Rating>();
    public List<Rating> listaRatings(int idUser)
    {
        return controladorRating.findWhere(new Rating(), "idUser="+idUser);
    }
}
